package com.iretailer.report.mapper;

import com.iretailer.report.base.SuperMapper;
import com.iretailer.report.model.Activity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther xjw
 * @Date 2019/1/21 1122
 * @Description
 */
public interface ActivityMapper extends SuperMapper<Activity> {

    List<Activity> selectActivityByMallId_Time(@Param("mallId") String mallId, @Param("startTime") String startTime, @Param("endTime") String endTime);

    List<Activity> selectActivityByUserId(@Param("userId") String userId);
}
